package cn.lili.modules.urbansubstation.entity.dto;

import cn.lili.common.validation.Mobile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 后台添加城市分站DTO
 */
@Data
public class UrbanSubstationDTO {

    @NotBlank(message = "username cant be null")
    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @NotBlank(message = "scene cant be null")
    @ApiModelProperty(value = "场景")
    private String scene;

    @NotBlank(message = "分站名称不能为空")
    @ApiModelProperty(value = "城市分站名称")
    private String urbanName;

    @ApiModelProperty(value = "城市分站图标")
    private String urbanIcon;

    @ApiModelProperty(value = "城市分站关键字")
    private String keywords;

    @ApiModelProperty(value = "城市分站描述")
    private String urbanDesc;

    @Mobile
    @NotBlank(message = "分站联系方式不能为空")
    @ApiModelProperty(value = "城市分站联系方式")
    private String urbanPhone;

    @ApiModelProperty(value = "城市分站邮箱")
    private String urbanEmail;

    @ApiModelProperty(value = "城市分站QQ")
    private String urbanQQ;

    @ApiModelProperty(value = "城市分站微信")
    private String urbanWechat;

    @NotBlank(message = "分站地址不能为空")
    @ApiModelProperty(value = "城市分站城市ID")
    private String areaId;

    @NotBlank(message = "分站地址不能为空")
    @ApiModelProperty(value = "城市分站城市名称")
    private String areaName;

    @ApiModelProperty(value = "城市分站关联用户表ID")
    private String userId;

    /*@NotNull(message = "分站供应商分佣比例不能为空")
    @ApiModelProperty(value = "供应商分佣比例")
    private Double shopRate;

    @NotNull(message = "分站订单分佣比例不能为空")
    @ApiModelProperty(value = "订单分佣比例")
    private Double orderRate;*/

    @ApiModelProperty(value = "结算银行开户名")
    private String settlementBankAccountName;

    @ApiModelProperty(value = "结算公司银行账号")
    private String settlementBankAccountNumber;

    @ApiModelProperty(value = "结算开户银行支行名称")
    private String settlementBankName;

    @ApiModelProperty(value = "结算开户银行所在地")
    private String settlementBankAddress;

    @ApiModelProperty(value = "域名")
    private String urbanDomain;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private String status;
}
